package com.webas.api.dao;

import com.webas.api.entity.Entity;

/**
 * 
 * @author tkhasano
 *
 * @param <T>
 */
public interface DaoSource<T>
{
	<T extends Entity<?>> GenericDao<T> create(Class<T> entry);
	
	void delete(Class<T> daoClass);
	
	boolean supportsAutoRegistration();

	void register(Class<?> entity);
	void register(String classPath);

	//CurrentStateSourceI getCurrentStateSource();
	//void setCurrentStateSource(CurrentStateSourceI currentStateSource);
	//AdonsI getAdons();
}
